import layout from "@/layout";
const monitorRouter = {
  path: "/monitor",
  redirect: "/monitor/redisMonitor",
  component: layout,
  name: "monitor",
  meta: {
    title: "系统监控",
    icon: "nested"
  },
  children: [
    {
      path: "redisMonitor",
      name: "redisMonitor",
      component: () => import("@/views/dashboard/monitor/redisMonitor"),
      meta: {
        title: "缓存监控"
      }
    },
    {
      path: "workMonitor",
      name: "workMonitor",
      component: () => import("@/views/dashboard/monitor/workMonitor"),
      meta: {
        title: "事务监控"
      }
    },
    {
      path: "onlineMonitor",
      name: "onlineMonitor",
      component: () => import("@/views/dashboard/monitor/onlineMonitor"),
      meta: {
        title: "在线事务"
      }
    },
    {
      path: "taskMonitor",
      name: "taskMonitor",
      component: () => import("@/views/dashboard/monitor/taskMonitor"),
      meta: {
        title: "任务日志"
      }
    },
    {
      path: "traceMonitor",
      name: "traceMonitor",
      component: () => import("@/views/dashboard/monitor/traceMonitor"),
      meta: {
        title: "任务轨迹"
      }
    },
    {
      path: "quartzMonitor",
      name: "quartzMonitor",
      component: () => import("@/views/dashboard/monitor/quartzMonitor"),
      meta: {
        title: "Quartz日志"
      }
    }
  ]
};
export default monitorRouter;
